import request from '@/utils/request'

// 查询dev列表
export function listEnvironmentdata(query) {
  return request({
    url: '/demo/environmentdata/list',
    method: 'get',
    params: query
  })
}

// 查询dev详细
export function getEnvironmentdata(id) {
  return request({
    url: '/demo/environmentdata/' + id,
    method: 'get'
  })
}

// 新增dev
export function addEnvironmentdata(data) {
  return request({
    url: '/demo/environmentdata',
    method: 'post',
    data: data
  })
}

// 修改dev
export function updateEnvironmentdata(data) {
  return request({
    url: '/demo/environmentdata',
    method: 'put',
    data: data
  })
}

// 删除dev
export function delEnvironmentdata(id) {
  return request({
    url: '/demo/environmentdata/' + id,
    method: 'delete'
  })
}
